home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 526-550 / disk_543 / preader / p-reader.doc < prev    next >
Text File  |  1992-05-06  |  13KB  |  289 lines

  1. PRE1
  2.                             P _ R E A D E R 
  3.  
  4.                                                                               
  5.    Yet another infernal Reader.  There are hundreds of them already, reliable,
  6.    comprehensive, user-friendly, sitting around pleading to be used.  So pick 
  7.    the Readers that will properly display texts with multiple colour and style
  8.    changes, compressed texts, ILBMs.   Now the list gets shorter!   Find the  
  9.    Readers that will also display animations and sounds. . . Finally find the 
  10.    Readers that will show illustrated texts, with pictures and animations     
  11.    mixed in with the words.   What, none?                                     
  12.                                                                               
  13.    Wrong.  One.                                                               
  14.                                                                                
  15.    First the general instructions.  press HELP for a summary.                 
  16.                                                                               
  17.  
  18.                              INSTRUCTIONS 
  19.                                      
  20.    Introduction
  21.       P-Reader can be used for:
  22.         All-purpose text reader.
  23.         Reader for special illustrated texts.
  24.         ILBM display, including HAM and cycling (where active).
  25.         Sounds (8SVX format).
  26.         ANIM5 type animation display.
  27.       
  28.       Texts, pictures and animations may be compressed (with P-Compress - to be
  29.   released shortly) or uncompressed.  P-Reader will check and act accordingly.
  30.  
  31.       This reader forms the core of the complete P-Suite system.  Also included
  32.   in the Suite, and being released over the next few months,  are:
  33.  
  34.     P-Writer.   A matching text editor with special facilities for writing in
  35.                 colour and style changes and calling up illustrations.
  36.     P-Compress. Compression and de-compression tool.
  37.     P-Check.    Utility for checking suitability of IFF illustrations - ILBM
  38.                 and ANIM.
  39.     P-Animate.  Full-featured 3-D animation programme.
  40.  
  41.   Calling
  42.       From CLI:   P-Reader <FILE>
  43.          if no file is given P-Reader will open showing a file requester.
  44.  
  45.       From Workbench:  Click the icon. 
  46.          P-Reader will again open with a file requester.
  47.          To open with a file (which may be a text, picture, or animation),
  48.            hold <SHIFT> click the P-Reader icon, double-click the file icon.
  49.  
  50.     If you have Arp Library installed the standard Arp file requester will   
  51.   be used.
  52.   Operation
  53.  
  54.      P-Reader is mainly controlled by the ten function keys.  To produce a key 
  55.   strip index switch the printer on and click twice on the strip below with
  56.   the RIGHT mouse button to print it.  Cut out, join, print "P-Reader" on the 
  57.   back and enclose between two strips of clear Con-Tact film.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64. #! 1 1 15 0 reader.key
  65.  
  66.    F1: Move to Page [n].  To move to any page press <F1>, enter the number of 
  67.    the required page, press <RETURN>.
  68.  
  69.    F2, F3: Press <F2> or <F3> to get the first or last pages respectively.
  70.  
  71.    F4: Search.  Requester will appear.  Click on this and replace the word
  72.    "text" with the string  that you want to find.  Set case-sensitivity and
  73.    press <RETURN>.  The  search will always start at the beginning of the file.
  74.    A cursor will appear immediately before the required string.
  75.  
  76.    F5: Search again.  Search will continue from the last instance found.
  77.  
  78.     WARNING The Search window must remain active during the search process    
  79.    If your pointer automatically activates the window over which it is placed,
  80.      make sure that it remains over the Search window.                         
  81.  
  82.    F6: Print page.  The current page will be dumped to the printer.
  83.  
  84.    F7: Print file.  The whole file will be dumped.
  85.  
  86.    F8: Screen to back.  Since P-Reader opens its own screen & window, depth or
  87.    window shrinking gadgets are not useful.  <F8>, together with  <Amiga-N>
  88.    <Amiga-M> allow any screen to be brought up.
  89.  
  90.    F9: Load.  Brings up a file requester.  A new file can be selected at any
  91.    time.
  92.  
  93.    F10:  Save.  Brings up the file requester again.  The text will always be   
  94.    saved in normal un-compressed ASCii form.  ILBM illustrations in the text
  95.    will not be saved (but see below under "ILBM Display).  
  96.  
  97.    If you do not have the Arp library, a simple string gadget requester will
  98.    appear.  Enter the required file, press <return> and click <OK> or <CANCEL>.
  99.         
  100.    Additional functions are performed by page header gadgets. From left to 
  101.    right:
  102.  
  103.       Window close - terminates P-Reader.  
  104.  
  105.       Page up      - just click on it (L mouse button).
  106.  
  107.       NoP          - No Pictures. Toggles to suppress or enable graphics.
  108.                      Click it.
  109.  
  110.       NoC          - No Cycling.   Toggles to suppress or enable cycling.
  111.  
  112.       Page Down    - Just click on it.
  113.     
  114.  Window Size
  115.  
  116.     To make it possible to include illustrations a displayed P-Reader text has 
  117.   a set page size - no scrolling.
  118.   
  119.     As a simple text reader P-Reader opens a screen matching the current
  120.   display mode.  If however an illustrated file is loaded, a PAL (256 line) 
  121.   or NTSC (200 line) screen will be used according to detail in the file
  122.   header.
  123.  
  124.  ILBM Display
  125.  
  126.     To stop cycling click once with the LEFT mouse button.  Cycling must be 
  127.     stopped before you can move on.
  128.   
  129.     To dump to the printer click twice with the RIGHT mouse button.
  130.  
  131.     P-Reader can be used as a stand-alone ILBM viewer.  In this role it will
  132.   accept any of the standard view-modes and screen depths.  
  133.  
  134.     To start cycling press <TAB>.
  135.     To stop cycling click once with the LEFT mouse button.    
  136.     To dump to the printer click twice with the RIGHT mouse button.
  137.     To close the screen click once with the LEFT mouse button.
  138.  
  139.  ANIMATION Display
  140.  
  141.     ANIM5s (as produced by Videoscape and P-Animator, etc) can be shown either
  142.   as text illustrations or by themselves.  The animation will display its
  143.   opening screen while loading.
  144.  
  145.     To start the animation click the LEFT mouse button once.
  146.     To end the animation click again.
  147.     The animation must be run (a double-click suffices) before you can move on.
  148.  
  149.     Displaying large animations (not including the illustration on P8) usually
  150.   needs 1 Meg of memory.  Click on the NoP gadget above if you have less.
  151.  
  152.                            ILLUSTRATED TEXTS 
  153.  
  154.      The preparation of illustrated texts for P-Reader is much easier with 
  155.    P-Writer, its partner in the P-Suite stable.  However P-Writer is not
  156.    essential.
  157.  
  158.  Colour and Style Changes
  159.    The normal escape codes are used.    The most useful being:
  160.    reset   ^[[0;40m        b'ground Pen1  ^[[41m     style bold    ^[[1m
  161.    text Pen1   ^[[31m      b'ground Pen2  ^[[42m     style italic  ^[[3m 
  162.    text Pen2   ^[[32m      b'ground Pen3  ^[[43m     underline     ^[[4m
  163.    text Pen3   ^[[33m
  164.  
  165.    The initial ^[ represents the insert introducer or CSI, the non-printing
  166.    character produced by 'Esc'.  Refer to the instructions for your text
  167.    editor to see how to insert this.
  168.  
  169.  Three types of graphics (four if you count sounds) can be called :
  170.  
  171.  ILBMs (IFF pictures)                        
  172.    True ILBMs produced by DPaint or any of the standard drawing software can
  173.    be used, provided that:
  174.  
  175.      Size is no greater than 640 X 256 (PAL) or 640 X 200 (NTSC).
  176.      No HAM or HALFBRITE.
  177.      Depth is three planes (eight colours).
  178.  
  179.    The picture shares a screen with the text, so the palette used by the
  180.    picture will affect screen colours.  Wherever possible the first four 
  181.    colours of the picture should be close to 000, FFA, 3F3, F20.  The rest of
  182.    the default palette is 45F, FC8, A60, 0A0.
  183.  
  184.       Calling syntax:
  185.              <#><!> 1 [Left edge] [Top edge] [Cycling] [File]
  186.             
  187.    # followed immediately by ! is the Command Introducer      
  188.    or CI.   P-Reader treats this as an escape sequence
  189.    introducer and the characters between it and the end  
  190.    of the line are not printed. (Always put a command
  191.    sequence at the end of a line, not in the middle!).
  192.    #! 1 61 5 1 tree
  193.  
  194.     1:          Enter 1 to indicate Type ILBM.
  195.     Left edge:  Position of left edge of picture - column.        
  196.     Top Edge:   Position of top of picture - row.              Click LMB to   
  197.     Cycling:    Enter 1 to enable, 0 to disable.             stop cycling
  198.     File:       Full path and filename.               This is CI 1 61 5 1 tree
  199.  
  200.    The sequence may be placed anywhere on the page,
  201.  but is best put at the  bottom so that all text is displayed first.
  202.  
  203. ANIMATIONS                                     
  204.                                                     
  205.    This version supports straightforward ANIM5 animations as produced by
  206.  Videoscape, The Projector, P_Animator and others.  Full information on how to 
  207.  create animations for P-Reader will be given in P_Animator.    
  208.  
  209.    The command syntax is:                 
  210.                                 
  211.              <#><!> 2 0 0 0 [File]           
  212.                                
  213.    The sequence starts with the same CI as before. 
  214.  
  215.    2:     Type 2.  Animation.  
  216.    0 0 0  (For future expansion;  do not omit). 
  217.    File:  Full path and filename.               This is CI 2 0 0 0 fight.anim  
  218.                                                        Click LMB to start
  219.    The sequence can go anywhere on the page.           Click again to stop
  220.    There should be no text directly under the
  221.    anim.      #! 2 0 0 0 fight.anim
  222.  
  223.   UP TO THREE ILBMs OR ONE ANIM MAY BE
  224.   CALLED ON EACH PAGE
  225.  
  226.  SOUNDS
  227.  
  228.    Sound effects can be included if they are
  229.  in the normal 8SVX format.      #! 4 yuppy
  230.  
  231.    Command syntax:  <#><!> 4 [File]
  232.  
  233.    Sequence starts with the Command Introducer
  234.                                                             
  235.    4:        Type 4 - sound effect.                        
  236.    File:     Full path and filename.                      
  237.  
  238. BORDERS
  239.  
  240.    Provides a standard Intuition Border which may
  241.    be used to enclose text or  pictures.                         This is
  242.                                                              CI 3 56 14 19 5 6 
  243.      The command syntax is:
  244.      <#><!> 3 [Left edge] [Top line] [Width] [Height] [Pen] 
  245.      #! 3 61 11 18 5 6 
  246.    The sequence starts with the same CI as before.
  247.  
  248.    3:            Type 3 - means "Draw a Border".
  249.    Left edge:    First column to be included in the box.
  250.    Top line:     First line to be included.
  251.    Width:        Number of columns wide.                  
  252.    Height:       Number of lines high.            
  253.    Pen:          Pens 0 to 7 may be used.              
  254.                                      
  255.    The command sequence may be placed anywhere on the page, however to prevent 
  256.   the border from being over-written by text it is best put on a line below
  257.   where the  border will appear. 
  258.    
  259.  Identification
  260.  
  261.   To identify an illustrated text write the letters PRE at its very start,
  262.   followed immediately (no blank spaces) by 0 to indicate a PAL file or 1 for
  263.   an NTSC file.  
  264.  
  265.                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 
  266.  
  267.   Credit:  Yuppee sound stolen from Nic Wilson's SAM sound-reader. 
  268.  
  269.   P-Reader may be freely copied and circulated in whole or in part, provided 
  270.   that any distribution is accompanied by this file.   The programme may be
  271.   used for any non-commercial or non-profit-making purpose.  Authority for
  272.   commercial or profit-making purposes may be obtained from the author -
  273.   proposals for payment in kind will be looked on favorably. 
  274.  
  275.   Reactions, suggestions, bug-reports all welcome.
  276.  
  277.   A.M.H Wyndham
  278.   1265 Canning Mills Road,
  279.   Roleystone,
  280.   WA 6111
  281.   Australia
  282.  
  283.  
  284.  
  285.  
  286.